<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>网站后台</title>
    <meta name="Keywords" content="铭成龙毅企业管理系统"/>
    <meta name="Description" content="铭成龙毅企业管理系统"/>
    <!-- bootstrap - css -->
    <link href="__PUBLIC__/UI/themes/css/bootstrap.css" rel="stylesheet">
    <!-- core - css -->
    <link href="__PUBLIC__/UI/themes/css/style.css" rel="stylesheet">
    <link href="__PUBLIC__/UI/themes/purple/core.css" id="bjui-link-theme" rel="stylesheet">
    <!-- plug - css -->
    <link href="__PUBLIC__/UI/plugins/kindeditor_4.1.10/themes/default/default.css" rel="stylesheet">
    <link href="__PUBLIC__/UI/plugins/colorpicker/css/bootstrap-colorpicker.min.css" rel="stylesheet">
    <link href="__PUBLIC__/UI/plugins/niceValidator/jquery.validator.css" rel="stylesheet">
    <link href="__PUBLIC__/UI/plugins/bootstrapSelect/bootstrap-select.css" rel="stylesheet">
    <link href="__PUBLIC__/UI/themes/css/FA/css/font-awesome.min.css" rel="stylesheet">
    <!--[if lte IE 7]>
    <link href="__PUBLIC__/UI/themes/css/ie7.css" rel="stylesheet">
    <![endif]-->
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lte IE 9]>
    <script src="__PUBLIC__/UI/other/html5shiv.min.js"></script>
    <script src="__PUBLIC__/UI/other/respond.min.js"></script>
    <![endif]-->
    <!-- jquery -->
    <script src="__PUBLIC__/UI/js/jquery-1.7.2.min.js"></script>
    <script src="__PUBLIC__/UI/js/jquery.cookie.js"></script>
    <!--[if lte IE 9]>
    <script src="__PUBLIC__/UI/other/jquery.iframe-transport.js"></script>
    <![endif]-->
    <!-- BJUI.all 分模块压缩版 -->
    <script src="__PUBLIC__/UI/js/bjui-all.js"></script>

<!-- plugins -->
 
<!-- swfupload for uploadify && kindeditor -->
<script src="__PUBLIC__/UI/plugins/swfupload/swfupload.js"></script>
<!-- kindeditor -->
<script src="__PUBLIC__/UI/plugins/kindeditor_4.1.10/kindeditor-all.min.js"></script>
<script src="__PUBLIC__/UI/plugins/kindeditor_4.1.10/lang/zh_CN.js"></script>
<!-- colorpicker -->
<script src="__PUBLIC__/UI/plugins/colorpicker/js/bootstrap-colorpicker.min.js"></script>
<!-- ztree -->
<script src="__PUBLIC__/UI/plugins/ztree/jquery.ztree.all-3.5.js"></script>
<!-- nice validate -->
<script src="__PUBLIC__/UI/plugins/niceValidator/jquery.validator.js"></script>
<script src="__PUBLIC__/UI/plugins/niceValidator/jquery.validator.themes.js"></script>
<!-- bootstrap plugins -->
<script src="__PUBLIC__/UI/plugins/bootstrap.min.js"></script>
<script src="__PUBLIC__/UI/plugins/bootstrapSelect/bootstrap-select.min.js"></script>
<!-- icheck -->
<script src="__PUBLIC__/UI/plugins/icheck/icheck.min.js"></script>
<!-- dragsort -->
<script src="__PUBLIC__/UI/plugins/dragsort/jquery.dragsort-0.5.1.min.js"></script>
<!-- HighCharts -->
<script src="__PUBLIC__/UI/plugins/highcharts/highcharts.js"></script>
<script src="__PUBLIC__/UI/plugins/highcharts/highcharts-3d.js"></script>
<script src="__PUBLIC__/UI/plugins/highcharts/themes/gray.js"></script>
<!-- ECharts -->
<script src="__PUBLIC__/UI/plugins/echarts/echarts.js"></script>
<!-- other plugins -->
<script src="__PUBLIC__/UI/plugins/other/jquery.autosize.js"></script>
<link href="__PUBLIC__/UI/plugins/uploadify/css/uploadify.css" rel="stylesheet">
<script src="__PUBLIC__/UI/plugins/uploadify/scripts/jquery.uploadify.min.js"></script>
<!-- init -->
<script type="text/javascript">
$(function() {
    BJUI.init({
        JSPATH       : '__PUBLIC__/UI/',         //[可选]框架路径
        PLUGINPATH   : '__PUBLIC__/UI/plugins/', //[可选]插件路径
        loginInfo    : {url:'login_timeout.html', title:'登录', width:400, height:200}, // 会话超时后弹出登录对话框
        statusCode   : {ok:200, error:300, timeout:301}, //[可选]
        ajaxTimeout  : 50000, //[可选]全局Ajax请求超时时间(毫秒)
        alertTimeout : 3000,  //[可选]信息提示[info/correct]自动关闭延时(毫秒)
        pageInfo     : {pageCurrent:'pageCurrent', pageSize:'pageSize', orderField:'orderField', orderDirection:'orderDirection'}, //[可选]分页参数
        keys         : {statusCode:'statusCode', message:'message'}, //[可选]
        ui           : {
                         showSlidebar     : true, //[可选]左侧导航栏锁定/隐藏
                         clientPaging     : true, //[可选]是否在客户端响应分页及排序参数
                         overwriteHomeTab : false //[可选]当打开一个未定义id的navtab时，是否可以覆盖主navtab(我的主页)
                       },
        debug        : false,    // [可选]调试模式 [true|false，默认false]
        theme        : 'purple' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
    })
    //时钟
    var today = new Date(), time = today.getTime()
    $('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
    setInterval(function() {
        today = new Date(today.setSeconds(today.getSeconds() + 1))
        $('#bjui-clock').html(today.formatDate('HH:mm:ss'))
    }, 1000)
})

//console.log('IE:'+ (!$.support.leadingWhitespace))
//菜单-事件
function MainMenuClick(event, treeId, treeNode) {
    if (treeNode.isParent) {
        var zTree = $.fn.zTree.getZTreeObj(treeId)
        
        zTree.expandNode(treeNode)
        return
    }
    
    if (treeNode.target && treeNode.target == 'dialog')
        $(event.target).dialog({id:treeNode.tabid, url:treeNode.url, title:treeNode.name})
    else
        $(event.target).navtab({id:treeNode.tabid, url:treeNode.url, title:treeNode.name, fresh:treeNode.fresh, external:treeNode.external})
    event.preventDefault()
}
</script>

</head>
<body>
<!--[if lte IE 7]>
<div id="errorie">
    <div>
        您还在使用老掉牙的IE，正常使用系统前请升级您的浏览器到 IE8以上版本
        <a target="_blank" href="http://windows.microsoft.com/zh-cn/internet-explorer/ie-8-worldwide-languages">点击升级</a>
        &nbsp;&nbsp;强烈建议您更改换浏览器：
        <a href="http://down.tech.sina.com.cn/content/40975.html" target="_blank">谷歌 Chrome</a>
    </div>
</div>
<![endif]-->

<script type="text/javascript">
    $(function(){  
        get_cate();
    });
    function get_cate(){
        $.get("{:U('Category/getParentCate')}",
            {
                'pid' : 0, 
                'rnd' : Math.floor(111+Math.random()*100000)
            },
            function(data){
                var listUl = $('#bjui-tree3');
                if(!isNaN(data.count) && data.count>0){
                    listUl.text('');
                }
                if(data.list && (typeof data.list == 'object')){
                    $.each(data.list, function(i, v){
                        i++;
                        var html='<li class="level0"><span class="button level0 switch root_docu"></span><a title="'+v.name+'" style="" target="_blank" href="'+v.url+'" onclick="" data-toggle="navtab" data-id="article-index" treenode_a="" class="level0" id="bjui-tree2_'+i+'_a"><span style="" class="button ico_docu" treenode_ico="" title="" id="bjui-tree2_'+i+'_ico"></span><span id="bjui-tree2_'+i+'_span">'+v.name+'</span></a></li>';
                        listUl.append(html);
                    });
                }
            },'json');
    }
</script>
<header id="bjui-header">
    <div class="bjui-navbar-header">
        <button type="button" class="bjui-navbar-toggle btn-default" data-toggle="collapse" data-target="#bjui-navbar-collapse"> <i class="fa fa-bars"></i>
        </button>
        <a class="bjui-navbar-logo" href="#">
            <img src="__PUBLIC__/UI/admin_logo.png"></a>
    </div>
    <nav id="bjui-navbar-collapse">
        <ul class="bjui-navbar-right">
            <li class="datetime">
                <div>
                    <span id="bjui-date"></span>
                    <br> <i class="fa fa-clock-o"></i>
                    <span id="bjui-clock"></span>
                </div>
            </li>
            <li>
                <a href="/" target="_blank">网站前台</a>
            </li>
            <li>
                <a href="http://doc.0771mc.com" target="_blank">帮助文档</a>
            </li>

            <li class="dropdown">
            
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    我的账户
                    <span class="caret"></span>
                </a>  
                <ul class="dropdown-menu" role="menu">
                    <li>
                        <a href="{:U('Person/pwd')}" data-toggle="dialog" data-id="changepwd_page" data-mask="true" data-width="400" data-height="260">
                            &nbsp;
                            <span class="glyphicon glyphicon-lock"></span>
                            修改密码&nbsp;
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="{:U('Index/loginout')}" class="red">
                            &nbsp;
                            <span class="glyphicon glyphicon-off"></span>
                            注销登陆
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </nav>
</header>

<div id="bjui-container" class="clearfix">
    <div id="bjui-leftside">
        <div id="bjui-sidebar-s">
            <div class="collapse"></div>
        </div>
        <div id="bjui-sidebar">
            <div class="toggleCollapse">
                <h2>
                    <i class="fa fa-bars"></i>
                    导航栏
                    <i class="fa fa-bars"></i>
                </h2>
                <a href="javascript:;" class="lock">
                    <i class="fa fa-lock"></i>
                </a>
            </div>
            <div class="panel-group panel-main" data-toggle="accordion" id="bjui-accordionmenu" data-heightbox="#bjui-sidebar" data-offsety="26">
                <?php $d=0;?>
                <foreach name="menus" item="m">
                	<?php $d=$d+1;
                		$sub_menu=array();
                		for($s=0;$s<count($m);$s++){
                			$sub_menu[]=$m[$s]['name'];
                		}
                		$sub_menu=implode(',',$sub_menu);
                		
                		if(authCheck($sub_menu,$_SESSION['aid'],2)){
                	?>
                	
                	<div class="panel panel-default">
	                    <div class="panel-heading panelContent">
	                        <h4 class="panel-title">
	                            <a data-toggle="collapse" data-parent="#bjui-accordionmenu" href="#bjui-collapse{$d}" <?php if($d==1){echo 'class="active"';}?>>
	                                <i class="fa fa-caret-square-o-down"></i>
	                                &nbsp;{$key}
	                            </a>
	                        </h4>
	                    </div>
	                    <div id="bjui-collapse{$d}" class="panel-collapse panelContent collapse <?php if($d==1){echo 'in';}?>">
	                        <div class="panel-body" >
	                            <ul id="bjui-tree{$d}" class="ztree ztree_main" data-toggle="ztree" data-on-click="MainMenuClick" data-expand-all="true">
	                              		<?php
	                              			for($k=0;$k<count($m);$k++){
	                              		?>
	                              		<if condition="authCheck($m[$k]['name'],$_SESSION['aid'],2)">
	                              			<?php 
	                              				$tableid=str_replace('/','-',str_replace('Admin/','',$m[$k]['name']));
	                              			?>
		                                	<li data-id="bjui-tree{$d}_{$k}" data-pid="0" data-url="{:U($m[$k]['name'])}" data-tabid="{$tableid}"><?php echo $m[$k]['title'];?></li>
		                              	</if>
		                              	<?php
		                              		}
		                              	?>
	                            </ul>
	                        </div>
	                    </div>
	                    <div class="panelFooter">
	                        <div class="panelFooterContent"></div>
	                    </div>
	                </div>
	                <?php
	                	}
	                ?>
                </foreach>
            </div>
        </div>
    </div>
    <div id="bjui-navtab" class="tabsPage">
        <div class="tabsPageHeader">
            <div class="tabsPageHeaderContent">
                <ul class="navtab-tab nav nav-tabs">
                    <li data-url="{:U('Site/main')}">
                        <a href="javascript:;">
                            <span>
                                <i class="fa fa-home"></i>
                                #maintab#
                            </span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="tabsLeft">
                <i class="fa fa-angle-double-left"></i>
            </div>
            <div class="tabsRight">
                <i class="fa fa-angle-double-right"></i>
            </div>
            <div class="tabsMore">
                <i class="fa fa-angle-double-down"></i>
            </div>
        </div>
        <ul class="tabsMoreList">
            <li>
                <a href="javascript:;">#maintab#</a>
            </li>
        </ul>
        <div class="navtab-panel tabsPageContent">
            <div class="navtabPage unitBox">
                <div class="bjui-pageHeader" style="background:#FFF;">
                    <div style="padding: 0 15px;">

                        <!--   -->

        <h4>
            联系客服　
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=320052830&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:320052830:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a>

            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=320052830&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:201177205:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a>
            电话：15994534211 
        </h4>
        <div class="alert alert-success" role="alert" style="margin:0 0 5px; padding:5px 15px 0;">
            <strong>欢迎你,{$Think.session.aname} 感谢您使用WOWOCMS</strong>
        </div>
        <div class="row">
            <div class="col-md-6">
                <h5>官方网站：<a href="http://www.wowocms.com/" target="_blank">http://www.wowocms.com/</a></h5>
                <h5>分站系统：<a href="http://www.wowocms.com/" target="_blank">http://www.wowocms.com/</a></h5>
                                                 
            </div>
            <div class="col-md-6">
                <h5>自助建站系统：<a href="http://www.wowocms.com/" target="_blank">http://www.wowocms.com</a></h5>
                <h5>在线帮助文档：<a href="http://www.wowocms.com" target="_blank">http://www.wowocms.com</a></h5>
            </div>
        </div>
    </div>
</div>
<style type="text/css">
    .copyright{
        font-size: 13px;
        line-height: 32px;
    }
</style>
<div class="bjui-pageContent">
    
        <div style="position:absolute;top:5px;right:0;width:260px;">
            <div class="panel panel-default">
                <div class="panel-heading"><h3 class="panel-title">程序声明</h3></div>
                <div class="panel-body">
                    <div class="copyright">
                    <!--  未经授权 请谨慎删除本程序声明  删除前请三思  -->
                    &nbsp;&nbsp;&nbsp;&nbsp;本程序《WOWOCMS》及本程序任何官方发布延伸版本，版权归属广西南宁市铭成龙毅网络科技有限公司所有。任何人、单位和机构未经授权，不得擅自进行非法破解，非法二次改动进行任何商业行为，如需进行商业使用，敬请联系我们，否则我们有权维护相关合法权益。有你们的支持，才能更好的发展。多谢大家支持！
                    <!--  未经授权 请谨慎删除本程序声明  删除前请三思  -->
                    </div>
                </div>
            </div>
        </div>
        <div style="margin-top:5px; margin-right:260px; overflow:hidden;">
        <div class="row" style="padding: 0 8px;">
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-heading"><h3 class="panel-title">版本更新</h3></div>
                    <div class="panel-body">
                        <table class="table table-condensed table-striped table-hover" width="100%">
                            <thead>
                                <tr>
                                    <th>版本</th>
                                    <th>更新内容</th>
                                    <th>更新时间</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>
                                        V7.3
                                    </td>
                                    <td>
                                        优化代码和删除多余文件，同时更换登录界面
                                    </td>
                                    <td>
                                        2015-12-24
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        V7.2
                                    </td>
                                    <td>
                                        更换程序名称，独立命名为WOWOCMS，启用WOWOCMS.COM域名
                                    </td>
                                    <td>
                                        2015-09-01
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        V7.0
                                    </td>
                                    <td>
                                        改进标签功能，增加自定义模型，完善权限配置，微信菜单增加绑定栏目回复内容，更换后台
                                    </td>
                                    <td>
                                        2015-04-09
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        V6.0
                                    </td>
                                    <td>
                                        修补部分BUG和更新安全隐患
                                    </td>
                                    <td>
                                        2014-11-22
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        V6.0
                                    </td>
                                    <td>
                                        对外发布第一版
                                    </td>
                                    <td>
                                        2014-10-11
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-heading"><h3 class="panel-title">程序信息</h3></div>
                    <div class="panel-body">
                         <table class="table table-condensed table-striped table-hover" width="100%">
                                <tr>
                                    <td>版权：</td>
                                    <td>广西南宁市铭成龙毅网络科技有限公司</td>
                                    <td>总策划：</td>
                                    <td>寒战</td>
                                    <td>官方：</td>
                                    <td>http://www.0771mc.com</td>
                                </tr>
                                <tr>
                                    <td>系统：</td>
                                    <td>{:PHP_OS}</td>
                                    <td>目录：</td>
                                    <td>{$_SERVER['DOCUMENT_ROOT']}</td>
                                    <td>PHP：</td>
                                    <td>{:phpversion()}</td>
                                </tr>
                                <tr>
                                    <td>服务器：</td>
                                    <td>{$_SERVER["SERVER_SOFTWARE"]}</td>
                                    <td>主题：</td>
                                    <td>{:THEME_NAME}</td>
                                    <td>存储：</td>
                                    <td>{:STORAGE_TYPE}</td>
                                </tr>
                                <tr>
                                    <td>MySQL：</td>
                                    <td>{$mysql_ver}</td>
                                    <td>支持：</td>
                                    <td>QQ：201177205 211330266</td>
                                    <td>调试：</td>
                                    <td>{$idebug}</td>
                                </tr>
                                <tr>
                                    <td>CGI：</td>
                                    <td>{$icgi}</td>
                                    <td>上传：</td>
                                    <td>{$environment_upload}</td>
                                    <td>CGI：</td>
                                    <td>{$icgi}</td>
                                </tr>
                            </table>
                    </div>
                </div>
            </div>

        </div>

                        
                        <!--  --> </div>
                </div>
            </div>
        </div>
    </div>
</div>
<footer id="bjui-footer">
    Copyright &copy; 2013 - {:date('Y',time())}
    <!-- 未经授权 擅自删除版权信息 进行商用  敬请三思-->
    <a href="http://www.wowocms.com/" target="_blank">wowocms</a>  广西南宁市铭成龙毅网络科技有限公司 版权所有
    <!-- 未经授权 擅自删除版权信息 进行商用  敬请三思-->
</footer>
</body>
</html>